package com.sq.partner.manager.service.credit;


import java.io.InputStream;
import java.util.List;

import javax.servlet.http.HttpSession;

import org.springframework.web.multipart.MultipartFile;

import com.sq.partner.manager.common.Result;
import com.sq.partner.manager.common.exception.AppException;
import com.sq.partner.manager.mybatis.model.GatewayUser;

public interface CreditInfomationService {
	Result saveAgentMtInfoAsCredit(String flag, String agentType,
			String userCode, String channelCode, String subChannelCode,
			String dptCde, String agentNo, String protocolNo,
			String serviceCode,String serviceName, String empNo,String empName, String teamCode, String teamName,
			String userName, String cardApplicant,String channleCode,
			String channleType,String newBsnsType,String categoryCode,
			String zone,String organization,String branch,String branchName,Long id,GatewayUser user,String cbrkrname,String coprcod,String key1,String key2,String key3,String key4,String key5
			,String unionType,
			String manag_code,String manag) throws Exception;
	
	List<InputStream> getFileInputStream(MultipartFile[] myfiles) throws AppException;

	void insertFinalPassDataToDB(InputStream inputStream,GatewayUser user,String agentType,HttpSession session) throws Exception;
	
}
